IF NOT EXISTS (select * from dbo.syscolumns where id = object_id(N'[dbo].[Contents]') AND Name = 'IsDeleted' )
	ALTER TABLE [dbo].Contents ADD [IsDeleted] bit not null default(0)
go

IF NOT EXISTS (select * from dbo.syscolumns where id = object_id(N'[dbo].[Contents]') AND Name = 'SortOrder' )
	ALTER TABLE [dbo].Contents ADD [SortOrder] int not null default(0)
go